const { productDetails } = require('../../controllers/admin/products.js')

const product = (fastify, opt, done) => {
  /**
   * 获取 产品详情
   */

  fastify.get('/wechat/product/details', productDetails)
  done()
}

module.exports = product
